package com.ruoyi.employment.dto;
/*
 *
 * @Author: awsister
 * @Date: 2022/12/27 0027 15:53
 */

import java.util.Objects;

public class AssistDto {
    private Long assistId;

    private Integer send;

    private String teacher;

    private String note;

    private String code;
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof AssistDto)) return false;
        AssistDto assistDto = (AssistDto) o;
        return getAssistId().equals(assistDto.getAssistId()) && getSend().equals(assistDto.getSend()) && getTeacher().equals(assistDto.getTeacher()) && getNote().equals(assistDto.getNote());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getAssistId(), getSend(), getTeacher(), getNote());
    }

    @Override
    public String toString() {
        return "AssistDto{" +
                "assistId=" + assistId +
                ", send=" + send +
                ", teacher='" + teacher + '\'' +
                ", note='" + note + '\'' +
                '}';
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getAssistId() {
        return assistId;
    }

    public void setAssistId(Long assistId) {
        this.assistId = assistId;
    }

    public Integer getSend() {
        return send;
    }

    public void setSend(Integer send) {
        this.send = send;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public AssistDto(Long assistId, Integer send, String teacher, String note) {
        this.assistId = assistId;
        this.send = send;
        this.teacher = teacher;
        this.note = note;
    }

    public AssistDto() {
    }
}
